package com.h3c.nem.utils;

/**
 * 常量类
 *
 * @author z22968
 * @date 2022/7/19 19:13
 */

public class Constants {

    // ************************************** Redis相关 ****************************************** /

    /**
     * 2022重构文件夹
     */
    public static final String FOLDER_NAME = "hrcp-service:";

    /**
     * 员工信息缓存（工号） key前缀
     */
    public static final String USER_EMP_CODE_CACHE = FOLDER_NAME + "empCode:";

    /**
     * 员工信息缓存（域账号） key前缀
     */
    public static final String USER_ACCOUNT_CACHE = FOLDER_NAME + "account:";

    /**
     * 新闻缓存 key前缀
     */
    public static final String NEWS_LIST = FOLDER_NAME + "news";

    // ************************************** EOS相关 ****************************************** /
    public static class Eos {
        /**
         * eos token
         */
        public static final String TOKEN = FOLDER_NAME + "eos-token";
        /**
         * eos租户id
         */
        public static final String CLIENT_ID = "eip-java";
        /**
         * 企微消息
         */
        public static final int MSG_WX = 1;
        /**
         * 短信
         */
        public static final int MSG_SMS = 2;
        /**
         * 邮件
         */
        public static final int MSG_MAIL = 3;
    }


    // ************************************** 业务相关 ****************************************** /
    /**
     * 第一次服务启动标识
     */
    public static final String FIRST_START_MARK = FOLDER_NAME + "firstStartMark";

    /**
     * beisen api 访问令牌
     */
    public static final String BEISEN_TOKEN = FOLDER_NAME + "beisenToken";

    /**
     * beisen api 组织架构
     */
    public static final String BEISEN_ORG_TREE = FOLDER_NAME + "beisenOrgTree";

    /**
     * beisen api 组织架构（本地）
     */
    public static final String LOCAL_ORG_TREE = FOLDER_NAME + "localOrgTree";

    // ************************************** 北森相关 ****************************************** /
    public static class bs {
        public static final String BEISEN_SUCCESS = "200";
        public static final String PROCESSING_RESUME_SET = FOLDER_NAME + "processingResumeSet:";
        public static final Integer SYNC_SUCCESS = 2;

    }

    // ************************************** ai助手 ****************************************** /
    public static class ai {
        public static final String AI_TOKEN_KEY = FOLDER_NAME + "aiToken";
        public static final Integer SUCCESS_CODE = 0;

        public static final String AI_HANDLER_KEY = FOLDER_NAME + "aiHandler:";

    }
    public static class IDOC {
        public static final Integer SUCCESS_CODE = 0;
        public static final String TOKEN = "idoc-token";

    }

    /**
     * beisen 组织新增日报key
     */
    public static final String DEPT_ADD_MSG = FOLDER_NAME + "deptAddMsg";

    /**
     * beisen 组织编辑日报key
     */
    public static final String DEPT_EDIT_MSG = FOLDER_NAME + "deptEditMsg";

    /**
     * beisen 组织编辑失效key
     */
    public static final String DEPT_DISABLE_MSG = FOLDER_NAME + "deptDisableMsg";

    /**
     * beisen 组织编辑生效key
     */
    public static final String DEPT_ENSABLE_MSG = FOLDER_NAME + "deptEnableMsg";

    /**
     * beisen 同步员工数据信息key
     */
    public static final String SYNC_EMP_MSG = FOLDER_NAME + "syncEmpMsg";

    /**
     * beisen 同步员工异常数据信息key
     */
    public static final String SYNC_EMP_ERR_MSG = FOLDER_NAME + "syncEmpErrMsg";

    /**
     * beisen 同步离职员工概述key
     */
    public static final String SYNC_EMP_LEAVE_MSG = FOLDER_NAME + "syncEmpLeave";

    /**
     * beisen 同步离职员工异常概述key
     */
    public static final String SYNC_EMP_LEAVE_ERR_MSG = FOLDER_NAME + "syncEmpLeaveErrMsg";

    /**
     * beisen 同步部门岗级变动概述key
     */
    public static final String SYNC_EMP_DEPT_CHANGE_MSG = FOLDER_NAME + "syncEmpDeptChangeMsg";

    /**
     * beisen 同步部门岗级变动异常概述key
     */
    public static final String SYNC_EMP_DEPT_CHANGE_ERR_MSG = FOLDER_NAME + "syncEmpDeptChangeErrMsg";

    /**
     * beisen 用户id
     */
    public static final String BEISEN_EMP_USERID = FOLDER_NAME + "beisenEmpUserId";

    /**
     * beisen 数据字典 城市地区
     */
    public static final String NATIVE_PLACE = FOLDER_NAME + "NativePlace";

    /**
     * beisen 数据字典 政治面貌
     */
    public static final String POLITY = FOLDER_NAME + "polity";

    /**
     * beisen 数据字典 婚姻状况
     */
    public static final String WEDSTATE = FOLDER_NAME + "WedState";

    /**
     * beisen 数据字典 名族
     */
    public static final String NATION = FOLDER_NAME + "Nation";

    /**
     * beisen 数据字典 最高学历
     */
    public static final String HIGHEST_DEGREE = FOLDER_NAME + "HighestDegree";

    /**
     * beisen 数据字典 证件类型
     */
    public static final String CERTIFICATE_TYPE = FOLDER_NAME + "CertificateType";

    /**
     * beisen 数据字典 合同类型
     */
    public static final String CONTRACT_TYPE = FOLDER_NAME + "ContractType";

    /**
     * beisen 数据字典 合同期限
     */
    public static final String CONTRACT_DUE_TYPE = FOLDER_NAME + "ContractDueType";

    /**
     * beisen 员工信息更改合集
     */
    public static final String EMP_CHANGED = FOLDER_NAME + "EmpChanged";

    /**
     * beisen 员工信息更改数据
     */
    public static final String EMP_CHANGED_DATA = FOLDER_NAME + "EmpChangedData";

    /**
     * beisen beisen的员工信息
     */
    public static final String BEISEN_EMP_INFO = FOLDER_NAME + "BeiSenEmpInfo";
}
